package it.koutifaris.travianmap.worldmap;

import it.koutifaris.travianmap.model.MapSquare;

public class EmptyMapCache implements MapCache {

	@Override
	public MapSquare getMapSquare(XY coords) {
		MapSquare mapSquare = new MapSquare();

		mapSquare.setX(coords.getX());
		mapSquare.setY(coords.getY());

		return mapSquare;
	}

	@Override
	public void setMapSquare(XY coords, MapSquare mapSquare) {
		// NOP
	}

}
